//
//  ServerView.h
//  pa
//
//  Created by HaiJiao Chen on 12-7-25.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ListController.h"
#import "ASINetworkQueue.h"

@interface ServerList : ListController
@property (nonatomic) int selectedIndex;
@end

@class CHJAlertView;
@interface ServerView : UIView<ListControllerDelegate>
{
    ServerList* list;
    ASINetworkQueue* normalQuene;
    CHJAlertView* waittingAlertView;
}
@property (nonatomic, assign) IBOutlet UITableView* table;
@property (nonatomic, assign) IBOutlet UITextField* server_name;
@property (nonatomic, assign) IBOutlet UITextField* server_address;
@property (nonatomic, assign) IBOutlet UIButton* english_btn;
@property (nonatomic, assign) IBOutlet UIButton* spanish_btn;
@property (nonatomic, assign) IBOutlet UIImageView* switch_img;

-(IBAction)english:(id)sender;
-(IBAction)spanish:(id)sender;
-(IBAction)test:(id)sender;
-(IBAction)add_server:(id)sender;
-(IBAction)cancel:(id)sender;

- (void)bind;
@end


